<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/12/13
  Time: 23:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<el-card>
    <el-row>
        <el-col :md="{span:8,offset:8}">
            <el-divider content-position="left">添加信用卡:</el-divider>
            <el-form label-width="100">
                <el-form-item label="信用卡卡号:">
                    <el-input type="text" v-model="addCreditCard.CreditCardNum"/>
                </el-form-item>
                <el-form-item label="信用卡欠款:">
                    <el-input-number v-model="addCreditCard.CreditCardPrice" :precision="2" :step="0.1"/>
                </el-form-item>
                <el-form-item label="还款日期:">
                    <el-date-picker v-model="addCreditCard.CreditCardTime" type="date" placeholder="选择还款日期">
                    </el-date-picker>
                </el-form-item>
                <el-form-item label="银行名称:">
                    <el-select v-model="addCreditCard.BankId" placeholder="请选择银行">
                        <el-option
                                v-for="(item,index) in BankMsgAll"
                                :key="index"
                                :label="item.bankName"
                                :value="item.bankId"
                        >
                        </el-option>
                    </el-select>
                </el-form-item>
                <el-form-item>
                    <el-button style="width: 100%" @click="insertCreditCard">确认添加</el-button>
                </el-form-item>
            </el-form>
        </el-col>
    </el-row>
</el-card>
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/center/addCreditCard.css">